from django.urls import path

from apis.views import test, sqltest, cachetest, cbv, redirecttest, celerytest

urlpatterns = [
    path('cachetest/get', cachetest.get),
    path('cachetest/set', cachetest.set),
    path('cachetest/delete', cachetest.delete),
    path('sqltest/sql_print', sqltest.sql_print),
    path('sqltest/get', sqltest.get),
    path('sqltest/edit', sqltest.edit),
    path('sqltest/delete', sqltest.delete),
    path('sqltest/add', sqltest.add),
    path('sqltest/index', sqltest.index),
    path('sqltest/model_meta', sqltest.model_meta),
    path('sqltest/complex_sql', sqltest.complex_sql),
    path('login', test.login),
    path('log_test', test.log_test),
    path('get', test.get),
    path('post', test.post),
    path('cbv', cbv.CbvView.as_view()),
    path('fbv', cbv.fbv_view),
    path('redirecttest/view', redirecttest.view),
    path('redirecttest/redirect_link', redirecttest.redirect_link),
    path('redirecttest/redirect_view', redirecttest.redirect_view),
    path('redirecttest/redirect_view1', redirecttest.redirect_view1),
    path('celerytest/task_test', celerytest.task_test),
]
